<?php
// +----------------------------------------------------------------------
// | User: zq
// +----------------------------------------------------------------------
// | Time: 2019-09-25 16:51
// +----------------------------------------------------------------------
namespace app\api\model;

use think\Model;

class Yuyue extends Model
{
    //自动时间戳开启
    protected $autoWriteTimestamp = true;
    //重新定义2个时间字段
    protected $createTime = 'create_time';
    protected $updateTime = 'update_time';
}